import 'package:flutter/material.dart';
import 'dart:ui';
class WoPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      home: new Scaffold(
        appBar: new AppBar(
          centerTitle: true,
          leading: IconButton(icon: Icon(Icons.arrow_back), onPressed: () {}),
          title: Text("MALL商城"),
          actions: <Widget>[
            IconButton(icon: Icon(Icons.add), onPressed: () {}),
            IconButton(icon: Icon(Icons.dashboard), onPressed: () {}),
          ],
        ),
        body: new Column(
          mainAxisAlignment: MainAxisAlignment.start,
          children: <Widget>[
            new Container(
              height: 160,
              alignment: Alignment.center,
              color: Colors.grey,
              child:   new Row(
                mainAxisAlignment: MainAxisAlignment.spaceEvenly,
                children: <Widget>[
                  new Column(
                    mainAxisSize: MainAxisSize.min,
                    mainAxisAlignment: MainAxisAlignment.center,
                    children: <Widget>[
                      new Container(
                        child: IconButton(icon: Icon(Icons.add,size: 40,), onPressed: null),
                        height: 55,
                        alignment: Alignment.center,
                        color: Colors.grey,
                      )

                    ],
                  ),
                  new Column(
                    mainAxisSize: MainAxisSize.min,
                    mainAxisAlignment: MainAxisAlignment.center,
                    children: <Widget>[
                      new Container(
                        child: Text("用户名",style: new TextStyle(fontSize: 20)),
                        height: 55,
                        alignment: Alignment.bottomCenter,
                        color: Colors.grey,
                      ),
                      new Container(
                        child: Text("黄金会员",style: new TextStyle(fontSize: 20)),
                        height: 55,
                        alignment: Alignment.topCenter,
                        color: Colors.grey,
                      )
                    ],
                  ),
                  new Column(
                    mainAxisSize: MainAxisSize.min,
                    mainAxisAlignment: MainAxisAlignment.center,
                    children: <Widget>[
                      new Container(
                        child:IconButton(icon: Icon(Icons.add,size: 40,), onPressed: null),
                        height: 55,
                        alignment: Alignment.center,
                        color: Colors.grey,
                      )
                    ],
                  )
                ],
              ),
            ),

            new Row(
              mainAxisAlignment: MainAxisAlignment.spaceEvenly,
              children: <Widget>[
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    Text("积分",style: new TextStyle(fontSize: 20)),
                    Text("100",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                ),
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    Text("优惠卷",style: new TextStyle(fontSize: 20)),
                    Text("100",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                ),
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    Text("关注",style: new TextStyle(fontSize: 20)),
                    Text("100",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                )
              ],
            ),
            new Row(
              mainAxisSize: MainAxisSize.max,
              children: <Widget>[
                new Opacity(
                  opacity:1.0,
                  child: new Container(
                    height: 15,
                    width: MediaQuery.of(context).size.width,
                    color: Colors.grey,
                  ),
                )

              ],
            ),
            new Row(
              mainAxisAlignment: MainAxisAlignment.spaceEvenly,
              children: <Widget>[
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    IconButton(icon: Icon(Icons.add,size: 40,), onPressed: null),
                    Text("我的订单",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                ),
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    IconButton(icon: Icon(Icons.add,size: 40,), onPressed: null),
                    Text("待付款",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                ),
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    IconButton(icon: Icon(Icons.add,size: 40,), onPressed: null),
                    Text("待收货",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                ),
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    IconButton(icon: Icon(Icons.add,size: 40,), onPressed: null),
                    Text("待评价",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                ),
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    IconButton(icon: Icon(Icons.add,size: 40,), onPressed: null),
                    Text("售后服务",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                )
              ],
            ),
            new Row(
              mainAxisAlignment: MainAxisAlignment.spaceEvenly,
              children: <Widget>[
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    IconButton(icon: Icon(Icons.add,size: 40,), onPressed: null),
                  ],
                ),
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    Text("100",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                ),
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    Text("100",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                ),
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    Text("100",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                ),
              ],
            ),
            new Row(
              mainAxisAlignment: MainAxisAlignment.spaceEvenly,
              children: <Widget>[
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    Text("我的收藏",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                ),
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    Text("商品",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                ),
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    Text("待收藏",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                ),
                new Column(
                  mainAxisSize: MainAxisSize.min,
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    Text("待评价",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  ],
                ),
              ],
            ),
            new Row(
              mainAxisSize: MainAxisSize.max,
              children: <Widget>[
                new Opacity(
                  opacity:1.0,
                  child: new Container(
                    height: 15,
                    width: MediaQuery.of(context).size.width,
                    color: Colors.grey,
                  ),
                )
              ],
            ),
            new Row(
              children: <Widget>[
                Expanded(
                  child: IconButton(icon: Icon(Icons.add,size: 20,), onPressed: null),
                  flex: 1,
                ),
                Expanded(
                  child: Text("我的足迹",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  flex: 5,
                ),
                Expanded(
                  child: Text("10",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  flex: 1,
                ),
                Expanded(
                  child: IconButton(icon: Icon(Icons.add,size: 20,), onPressed: null),
                  flex: 1,
                ),
              ],
            ),
            new Row(
              children: <Widget>[
                Expanded(
                  child: IconButton(icon: Icon(Icons.add,size: 20,), onPressed: null),
                  flex: 1,
                ),
                Expanded(
                  child: Text("我的评价",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  flex: 5,
                ),
                Expanded(
                  child: Text("10",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  flex: 1,
                ),
                Expanded(
                  child: IconButton(icon: Icon(Icons.add,size: 20,), onPressed: null),
                  flex: 1,
                ),
              ],
            ),
            new Row(
              children: <Widget>[
                Expanded(
                  child: IconButton(icon: Icon(Icons.add,size: 20,), onPressed: null),
                  flex: 1,
                ),
                Expanded(
                  child: Text("地址管理",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  flex: 5,
                ),
                Expanded(
                  child: Text("",style: new TextStyle(fontSize: 20,color: Colors.green)),
                  flex: 1,
                ),
                Expanded(
                  child: IconButton(icon: Icon(Icons.add,size: 20,), onPressed: null),
                  flex: 1,
                ),
              ],
            )
          ],
        ),
      ),
    );
  }
}